//
//  NSString+SCStringHandle.h
//  Shuaiche
//
//  Created by dangshuai on 2019/3/26.
//  Copyright © 2019 zzs. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (SCStringHandle)

- (NSString *)substringToCharater:(NSString *)charater withLocation:(int)location;

- (NSArray *)arrayByRegularPattern:(NSString *)pattern;

- (NSNumber *)translateToTenThousand;
- (BOOL) checkFloatNumber;
- (BOOL) checkPhone;
- (BOOL)checkVin;

+ (NSString *)dayStringFromTime:(long)time;

- (CGFloat)heightInWidth:(CGFloat)width forFont:(UIFont *)font;

NSString *stringYYYYMMDD(NSString *ori);

@end

NS_ASSUME_NONNULL_END
